﻿html
    head
    block stylesheet
        link(rel='stylesheet', href='./stylesheets/default.css')
        link(rel='stylesheet', href='./stylesheets/cssmenu.css')
    block title
        title G.E.C.K. - Garden Of Eden Creation Kit
    body
        .contentwrapper
            block header
                .header
                    img#logo(src="./images/logo.png")
                    #cssmenu
                        ul
                            li(class=url == '/' ? 'active' : undefined): a(href='/') Home
                            li(class=url == '/players' ? 'active' : undefined): a(href='#') Players           
                            if (admin)
                                li(class=url == '/admin' ? 'active' : undefined, id='admin'): a(href='/admin') Admin
                            li: a(href='http://geckglobal.createaforum.com/index.php?action=forum') Forums
                            li(class=url == '/map' ? 'active' : undefined): a(href='/map') Map
                            li.last: a(href='http://terraria-servers.com/server/698/vote/') Vote
                            unless username
                                li.last#login: a(href='/login') Login
                            if username
                                li.username Logged in as #{username}
            block footer
                .footer
                    h2 © G.E.C.K. - 2015

